Filter hook 'user_{$field}'
in WP Core File wp-includes/user.php at line 1871
Description
Filters the value of a user field in a standard context. The dynamic portion of the hook name, `$field`, refers to the prefixed user field being filtered, such as 'user_login', 'user_email', 'first_name', etc.
Occurrences
Filename |
Line Number |
wp-includes/user.php |
1871 |
Parameters
Type |
Name |
Description |
mixed |
$value |
The user object value to sanitize. |
int |
$user_id |
User ID. |
string |
$context |
The context to filter within. |
PHP Doc